package com.doumi.biz.qadev.api.bean;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

/**
 * Created by YDZ on 2019/10/25.
 */
@Data
public class UserBaseInfoModel {
    //求职意向
    @JSONField(name = "job_prefer")
    private int jobPrefer;
    //工作年限
    @JSONField(name = "work_years")
    private int workYears;
    //行业
    @JSONField(name = "industry_id")
    private int industryId;
    //工作经验
    @JSONField(name = "work_experience")
    private String workExperience;
    //年龄
    @JSONField(name = "age")
    private int age;
    //性别
    @JSONField(name = "gender")
    private int gender;
    //学历 2:初中 3:高中 4:大专 5:本科 6:硕士 7:博士及以上 100:其他
    @JSONField(name = "degree")
    private int degree;
    //身份 1学生 2非学生
    @JSONField(name = "identify")
    private int identify;
    //来源：报名来源和简历来源，用；分隔
    @JSONField(name ="source")
    private String source;
    //用户名
    @JSONField(name ="user_name")
    private String userName;
    //是否有商家行为：1有 0 没有
    @JSONField(name ="business_behavior")
    private int businessBehavior;
    //用户意向
    @JSONField(name ="job_date_type")
    private int jobDateType;
    //备注
    @JSONField(name ="communication_record")
    private String communicationRecord;
    //销状态，0-未注销，5-已注销
    @JSONField(name ="is_destroyed")
    private int isDestroyed;
    //户状态 5正常 0审核中 -5禁用
    @JSONField(name ="user_status")
    private int userStatus;
    //冻结状态，0-未冻结，1-冻结三天；2-冻结七天；3-永久冻结
    @JSONField(name ="frozen_type")
    private int frozenType;
    //用户昵称 用户名
    @JSONField(name ="nick_name")
    private String nickName;
    //黑产表状态
    @JSONField(name ="status_black")
    private int statusBlack;
    //白名单表状态
    @JSONField(name ="status_white")
    private int statusWhite;
    //用于全职工作者的简历描述
    @JSONField(name="resume_description")
    private String resumeDescription;
    //用户电话号码
    @JSONField(name="mobile")
    private String mobile;
    //用户ID
    private Long userId;

    public UserBaseInfoModel() {
    }

    public UserBaseInfoModel(int jobPrefer, int workYears, int industryId, String workExperience, int age, int gender, int degree, int identify, String source, String userName, int businessBehavior, int jobDateType, String communicationRecord, int isDestroyed, int userStatus, int frozenType, String nickName, int statusBlack, int statusWhite, String resumeDescription, String mobile, Long userId) {
        this.jobPrefer = jobPrefer;
        this.workYears = workYears;
        this.industryId = industryId;
        this.workExperience = workExperience;
        this.age = age;
        this.gender = gender;
        this.degree = degree;
        this.identify = identify;
        this.source = source;
        this.userName = userName;
        this.businessBehavior = businessBehavior;
        this.jobDateType = jobDateType;
        this.communicationRecord = communicationRecord;
        this.isDestroyed = isDestroyed;
        this.userStatus = userStatus;
        this.frozenType = frozenType;
        this.nickName = nickName;
        this.statusBlack = statusBlack;
        this.statusWhite = statusWhite;
        this.resumeDescription = resumeDescription;
        this.mobile = mobile;
        this.userId = userId;
    }

    public String toJsonString() {
        return JSON.toJSONString(this);
    }
}
